home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
015
/
printpak.lbr
/
TESTCRV.PAS
< prev
Wrap
Pascal/Delphi Source File
|
1985-11-02
|
640b
|
35 lines
program Testcurve (Input, Output);
{$I printpak.pas }
var ch: char;
procedure Plotcurve;
var I, width: integer;
scaler: real;
begin { Plotcurve }
width := across - (across mod 50);
scaler := width / 50;
for I := 0 to width do
Pset (I, trunc(639-(I/scaler-25)*(I/scaler-25)), 1)
end; { Plotcurve }
begin { Testcurve }
Init_mem;
PixelMasks;
HiRes; HiResColor(7);
Plotcurve;
write ('Continue (y/n)? ');
readln (ch);
if (ch = 'y') then
Printout;
TextMode (BW80)
end. { Testcurve }